package com.program.houai.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.program.houai.entity.VipCardOrderEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * @version v1.0
 * @ProjectName: EOrder-master
 * @ClassName: VipCardOrderPO
 * @Description: TODO(一句话描述该类的功能)
 * @Author: Topcheer
 * @Date: 2024/8/31 13:49
 */
@Getter
@Setter
@ApiModel(value ="订单明细",description = "订单明细字段")
public class VipCardOrderPO extends VipCardOrderEntity {

    @ApiModelProperty(value = "单价")
    private String orderPrice ;

    @ApiModelProperty(value = "应付金额")
    private String amountPrice ;

    @ApiModelProperty(value = "图片地址")
    private String url;

    @ApiModelProperty(value = "卡名字")
    private String vipName;

    @ApiModelProperty(value = "会员卡等级")
    private String level;

    @ApiModelProperty(value = "支付时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date payTime;

    @ApiModelProperty(value = "失效时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date expirationTime;

    @ApiModelProperty(value = "到期时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date effectiveTime;

}
